package org.l.qiao.web.form;

/**
 * Created by LBW05 on 2016/6/27.
 */

/**
 * 表单验证错误信息
 */
public class FormError {
    /**
     * 表单项
     */
    private String name;
    /**
     * 验证式
     */
    private String check;
    /**
     * 是否允许为空
     */
    private boolean nullable;

    private String value;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCheck() {
        return check;
    }

    public void setCheck(String check) {
        this.check = check;
    }

    public boolean isNullable() {
        return nullable;
    }

    public void setNullable(boolean nullable) {
        this.nullable = nullable;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
